package com.fas.system.mapper;

import com.fas.system.domain.FasWordOrderEngineer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FasWordOrderEngineerMapper {

    int insertFasWordOrderEngineer(FasWordOrderEngineer fasWordOrderEngineer);

    List<FasWordOrderEngineer> findByWordOrderId(Integer wordOrderId);

    List<FasWordOrderEngineer> findByWordOrderAndEngId(@Param("wordOrderId") Integer wordOrderId,@Param("engineerUserId") Integer engineerUserId);

    int judgeEngineerIsRefuse(@Param("wordOrderId") Integer wordOrderId, @Param("engineerUserId") Integer engineerUserId);
}
